package com.grts.mall.pojo.vo;

public class OrderSearchConditionVO {
	private Long oid;
	private Integer state;
	
	private Integer page;
	private Integer limit;
	public Integer getLimit() {
		return limit;
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	
	public Integer getSkip() {
		return this.limit*(this.page-1);
	}
	
	public Integer getTake() {
		return this.limit;
	}
	public Long getOid() {
		return oid;
	}
	public void setOid(Long oid) {
		this.oid = oid;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	
	public OrderSearchConditionVO(Long oid, Integer state) {
		super();
		this.oid = oid;
		this.state = state;
	}
	public OrderSearchConditionVO() {
	}
}
